package com.ruding.disruptor.config;

/**
 * 发送状态枚举
 * @author 520475
 *
 */
public enum ReportStatus {
    
    UNREPORT(0, "未发送"),
    
    REPORTED(1, "已发送"),
    
    PENDING(2, "待发送");
    
    private int code;
    
    private String message;
    
    private ReportStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int code() {
        return code;
    }

    public String message() {
        return message;
    }

}
